package com.dkd.client.order;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(value = "order-service")
public interface OrderClient {
    @GetMapping("/order/{businessId}")
    List<Long> getByBId(@PathVariable("businessId") Long businessId);
}
